package com.example.lovedogs.domain;

import java.sql.Date;



public class Doctor {
	private int no;
	private String mobile;
	private String name;
	private String password;
	private String number;// 身份证号码
	private String doctornumber;// 医生执照号
	private int hospitalno;
	private String sex;
	private String picture;
	private Date birth;
	private String intro;
	private Date createtime;
	private int yiling;
	private String zhuzhi;
	private String zhiwu;
	private String zhicheng;
	private String tele;
	private String belong;
	private String chengguo;
	private String redu;
	private String juli;

	public Doctor() {
		super();
	}
	
	public Doctor(String name, String picture, String intro) {
		super();
		this.name = name;
		this.picture = picture;
		this.intro = intro;
	}

	//listview条目展示
	public Doctor(String name,String picture ,String redu, String juli) {
		super();
		this.name = name;
		this.picture=picture;
		this.redu = redu;
		this.juli = juli;
	}
	//医生界面展示
	public Doctor(String name, String touxiang, int yiling, String zhuzhi,
			String zhiwu, String zhicheng, String tele, String belong,
			String chengguo) {
		super();
		this.name = name;
		this.yiling = yiling;
		this.zhuzhi = zhuzhi;
		this.zhiwu = zhiwu;
		this.zhicheng = zhicheng;
		this.tele = tele;
		this.belong = belong;
		this.chengguo = chengguo;
	}
	//医生注册界面信息
	public Doctor(int no, String mobile, String name, String password,
			String number, String doctornumber, int hospitalno, String sex,
			String picture, Date birth, String intro, Date createtime) {
		super();
		this.no = no;
		this.mobile = mobile;
		this.name = name;
		this.password = password;
		this.number = number;
		this.doctornumber = doctornumber;
		this.hospitalno = hospitalno;
		this.sex = sex;
		this.picture = picture;
		this.birth = birth;
		this.intro = intro;
		this.createtime = createtime;
	}

	public Doctor(int no, String mobile, String name, String password,
			String number, String doctornumber, int hospitalno, String sex,
			String picture, Date birth, String intro, Date createtime,
			 int yiling, String zhuzhi, String zhiwu,
			String zhicheng, String tele, String belong, String chengguo,
			String redu, String juli) {
		super();
		this.no = no;
		this.mobile = mobile;
		this.name = name;
		this.password = password;
		this.number = number;
		this.doctornumber = doctornumber;
		this.hospitalno = hospitalno;
		this.sex = sex;
		this.picture = picture;
		this.birth = birth;
		this.intro = intro;
		this.createtime = createtime;
		this.yiling = yiling;
		this.zhuzhi = zhuzhi;
		this.zhiwu = zhiwu;
		this.zhicheng = zhicheng;
		this.tele = tele;
		this.belong = belong;
		this.chengguo = chengguo;
		this.redu = redu;
		this.juli = juli;
	}
	public Doctor(String mobile, String name, String password, String number,
			String doctornumber, int hospitalno, Date createtime) {
		super();
		this.mobile = mobile;
		this.name = name;
		this.password = password;
		this.number = number;
		this.doctornumber = doctornumber;
		this.hospitalno = hospitalno;
		this.createtime = createtime;
	}

	public int getNo() {
		return no;
	}

	public void setNo(int no) {
		this.no = no;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getDoctornumber() {
		return doctornumber;
	}

	public void setDoctornumber(String doctornumber) {
		this.doctornumber = doctornumber;
	}

	public int getHospitalno() {
		return hospitalno;
	}

	public void setHospitalno(int hospitalno) {
		this.hospitalno = hospitalno;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}


	public int getYiling() {
		return yiling;
	}

	public void setYiling(int yiling) {
		this.yiling = yiling;
	}

	public String getZhuzhi() {
		return zhuzhi;
	}

	public void setZhuzhi(String zhuzhi) {
		this.zhuzhi = zhuzhi;
	}

	public String getZhiwu() {
		return zhiwu;
	}

	public void setZhiwu(String zhiwu) {
		this.zhiwu = zhiwu;
	}

	public String getZhicheng() {
		return zhicheng;
	}

	public void setZhicheng(String zhicheng) {
		this.zhicheng = zhicheng;
	}

	public String getTele() {
		return tele;
	}

	public void setTele(String tele) {
		this.tele = tele;
	}

	public String getBelong() {
		return belong;
	}

	public void setBelong(String belong) {
		this.belong = belong;
	}

	public String getChengguo() {
		return chengguo;
	}

	public void setChengguo(String chengguo) {
		this.chengguo = chengguo;
	}

	
	public String getRedu() {
		return redu;
	}

	public void setRedu(String redu) {
		this.redu = redu;
	}

	public String getJuli() {
		return juli;
	}

	public void setJuli(String juli) {
		this.juli = juli;
	}
	@Override
	public String toString() {
		return "Doctor [no=" + no + ", mobile=" + mobile + ", name=" + name
				+ ", password=" + password + ", number=" + number
				+ ", doctornumber=" + doctornumber + ", hospitalno="
				+ hospitalno + ", sex=" + sex + ", picture=" + picture
				+ ", birth=" + birth + ", intro=" + intro + ", createtime="
				+ createtime +  ", yiling=" + yiling
				+ ", zhuzhi=" + zhuzhi + ", zhiwu=" + zhiwu + ", zhicheng="
				+ zhicheng + ", tele=" + tele + ", belong=" + belong
				+ ", chengguo=" + chengguo + ", redu=" + redu + ", juli="
				+ juli + "]";
	}

	
}
